# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'dialog_edit_AE.ui'
#
# Created: Thu Oct 20 08:26:54 2011
#      by: PyQt4 UI code generator 4.8.5
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Dialog_edit_AE(object):
    def setupUi(self, Dialog_edit_AE):
        Dialog_edit_AE.setObjectName(_fromUtf8("Dialog_edit_AE"))
        Dialog_edit_AE.resize(688, 651)
        Dialog_edit_AE.setWindowTitle(QtGui.QApplication.translate("Dialog_edit_AE", "myCF - Edit AE", None, QtGui.QApplication.UnicodeUTF8))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/mcfLogo.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Dialog_edit_AE.setWindowIcon(icon)
        self.gridLayout_2 = QtGui.QGridLayout(Dialog_edit_AE)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label = QtGui.QLabel(Dialog_edit_AE)
        self.label.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Name :", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.lineEdit_Name = QtGui.QLineEdit(Dialog_edit_AE)
        self.lineEdit_Name.setEnabled(True)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 127))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 127))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.lineEdit_Name.setPalette(palette)
        self.lineEdit_Name.setReadOnly(False)
        self.lineEdit_Name.setObjectName(_fromUtf8("lineEdit_Name"))
        self.gridLayout_2.addWidget(self.lineEdit_Name, 0, 1, 1, 1)
        self.label_lineEdit_ID_EA = QtGui.QLabel(Dialog_edit_AE)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_lineEdit_ID_EA.sizePolicy().hasHeightForWidth())
        self.label_lineEdit_ID_EA.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setItalic(True)
        self.label_lineEdit_ID_EA.setFont(font)
        self.label_lineEdit_ID_EA.setText(QtGui.QApplication.translate("Dialog_edit_AE", "AE_id:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_lineEdit_ID_EA.setObjectName(_fromUtf8("label_lineEdit_ID_EA"))
        self.gridLayout_2.addWidget(self.label_lineEdit_ID_EA, 0, 2, 1, 1)
        self.lineEdit_AE_id = QtGui.QLineEdit(Dialog_edit_AE)
        self.lineEdit_AE_id.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_AE_id.sizePolicy().hasHeightForWidth())
        self.lineEdit_AE_id.setSizePolicy(sizePolicy)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(226, 229, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(226, 229, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush)
        brush = QtGui.QBrush(QtGui.QColor(255, 255, 255))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush)
        self.lineEdit_AE_id.setPalette(palette)
        self.lineEdit_AE_id.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineEdit_AE_id.setReadOnly(True)
        self.lineEdit_AE_id.setObjectName(_fromUtf8("lineEdit_AE_id"))
        self.gridLayout_2.addWidget(self.lineEdit_AE_id, 0, 3, 1, 1)
        self.label_2 = QtGui.QLabel(Dialog_edit_AE)
        self.label_2.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Definition :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.textEdit_definition = QtGui.QTextEdit(Dialog_edit_AE)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textEdit_definition.sizePolicy().hasHeightForWidth())
        self.textEdit_definition.setSizePolicy(sizePolicy)
        self.textEdit_definition.setMinimumSize(QtCore.QSize(80, 0))
        self.textEdit_definition.setMaximumSize(QtCore.QSize(16777215, 100))
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setItalic(True)
        self.textEdit_definition.setFont(font)
        self.textEdit_definition.setTabChangesFocus(True)
        self.textEdit_definition.setReadOnly(False)
        self.textEdit_definition.setObjectName(_fromUtf8("textEdit_definition"))
        self.gridLayout_2.addWidget(self.textEdit_definition, 1, 1, 1, 3)
        self.label_3 = QtGui.QLabel(Dialog_edit_AE)
        self.label_3.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Source :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1)
        self.lineEdit_source = QtGui.QLineEdit(Dialog_edit_AE)
        self.lineEdit_source.setObjectName(_fromUtf8("lineEdit_source"))
        self.gridLayout_2.addWidget(self.lineEdit_source, 2, 1, 1, 1)
        self.label_4 = QtGui.QLabel(Dialog_edit_AE)
        self.label_4.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Curator :", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 3, 0, 1, 1)
        self.lineEdit_curator = QtGui.QLineEdit(Dialog_edit_AE)
        self.lineEdit_curator.setObjectName(_fromUtf8("lineEdit_curator"))
        self.gridLayout_2.addWidget(self.lineEdit_curator, 3, 1, 2, 1)
        self.tabWidget = QtGui.QTabWidget(Dialog_edit_AE)
        self.tabWidget.setToolTip(_fromUtf8(""))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tab)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.tableWidget_attributes = QtGui.QTableWidget(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tableWidget_attributes.sizePolicy().hasHeightForWidth())
        self.tableWidget_attributes.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.tableWidget_attributes.setFont(font)
        self.tableWidget_attributes.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tableWidget_attributes.setProperty("showDropIndicator", True)
        self.tableWidget_attributes.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableWidget_attributes.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableWidget_attributes.setGridStyle(QtCore.Qt.SolidLine)
        self.tableWidget_attributes.setObjectName(_fromUtf8("tableWidget_attributes"))
        self.tableWidget_attributes.setColumnCount(4)
        self.tableWidget_attributes.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_attributes.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_attributes.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Value", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_attributes.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Inherited from", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_attributes.setHorizontalHeaderItem(3, item)
        self.gridLayout_3.addWidget(self.tableWidget_attributes, 0, 0, 1, 3)
        self.pushButton_add_attribute = QtGui.QPushButton(self.tab)
        self.pushButton_add_attribute.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Add", None, QtGui.QApplication.UnicodeUTF8))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/db_add.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_add_attribute.setIcon(icon1)
        self.pushButton_add_attribute.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_add_attribute.setObjectName(_fromUtf8("pushButton_add_attribute"))
        self.gridLayout_3.addWidget(self.pushButton_add_attribute, 1, 0, 1, 1)
        self.pushButton_edit_value = QtGui.QPushButton(self.tab)
        self.pushButton_edit_value.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Edit Value", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_edit_value.setIcon(icon1)
        self.pushButton_edit_value.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_edit_value.setObjectName(_fromUtf8("pushButton_edit_value"))
        self.gridLayout_3.addWidget(self.pushButton_edit_value, 1, 1, 1, 1)
        self.pushButton_delete_attribute = QtGui.QPushButton(self.tab)
        self.pushButton_delete_attribute.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/db_remove.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_delete_attribute.setIcon(icon2)
        self.pushButton_delete_attribute.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_delete_attribute.setObjectName(_fromUtf8("pushButton_delete_attribute"))
        self.gridLayout_3.addWidget(self.pushButton_delete_attribute, 1, 2, 1, 1)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.gridLayout = QtGui.QGridLayout(self.tab_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tableWidget_relations = QtGui.QTableWidget(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tableWidget_relations.sizePolicy().hasHeightForWidth())
        self.tableWidget_relations.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.tableWidget_relations.setFont(font)
        self.tableWidget_relations.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tableWidget_relations.setProperty("showDropIndicator", True)
        self.tableWidget_relations.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableWidget_relations.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableWidget_relations.setGridStyle(QtCore.Qt.SolidLine)
        self.tableWidget_relations.setObjectName(_fromUtf8("tableWidget_relations"))
        self.tableWidget_relations.setColumnCount(3)
        self.tableWidget_relations.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Child", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_relations.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Relation type", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_relations.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Parent", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_relations.setHorizontalHeaderItem(2, item)
        self.gridLayout.addWidget(self.tableWidget_relations, 0, 0, 1, 3)
        self.pushButton_add_child = QtGui.QPushButton(self.tab_2)
        self.pushButton_add_child.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Add Child", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_add_child.setIcon(icon1)
        self.pushButton_add_child.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_add_child.setObjectName(_fromUtf8("pushButton_add_child"))
        self.gridLayout.addWidget(self.pushButton_add_child, 3, 0, 1, 1)
        self.pushButton_add_parent = QtGui.QPushButton(self.tab_2)
        self.pushButton_add_parent.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Add Parent", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_add_parent.setIcon(icon1)
        self.pushButton_add_parent.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_add_parent.setObjectName(_fromUtf8("pushButton_add_parent"))
        self.gridLayout.addWidget(self.pushButton_add_parent, 3, 1, 1, 1)
        self.pushButton_delete_relation = QtGui.QPushButton(self.tab_2)
        self.pushButton_delete_relation.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_delete_relation.setIcon(icon2)
        self.pushButton_delete_relation.setIconSize(QtCore.QSize(24, 24))
        self.pushButton_delete_relation.setObjectName(_fromUtf8("pushButton_delete_relation"))
        self.gridLayout.addWidget(self.pushButton_delete_relation, 3, 2, 1, 1)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 5, 0, 1, 4)
        self.buttonBox = QtGui.QDialogButtonBox(Dialog_edit_AE)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_2.addWidget(self.buttonBox, 6, 0, 1, 2)
        self.pushButton_Update = QtGui.QPushButton(Dialog_edit_AE)
        self.pushButton_Update.setEnabled(False)
        self.pushButton_Update.setText(QtGui.QApplication.translate("Dialog_edit_AE", "Update", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_Update.setObjectName(_fromUtf8("pushButton_Update"))
        self.gridLayout_2.addWidget(self.pushButton_Update, 3, 3, 1, 1)

        self.retranslateUi(Dialog_edit_AE)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog_edit_AE)
        Dialog_edit_AE.setTabOrder(self.lineEdit_AE_id, self.lineEdit_Name)
        Dialog_edit_AE.setTabOrder(self.lineEdit_Name, self.textEdit_definition)
        Dialog_edit_AE.setTabOrder(self.textEdit_definition, self.tabWidget)
        Dialog_edit_AE.setTabOrder(self.tabWidget, self.tableWidget_attributes)
        Dialog_edit_AE.setTabOrder(self.tableWidget_attributes, self.pushButton_add_attribute)
        Dialog_edit_AE.setTabOrder(self.pushButton_add_attribute, self.pushButton_edit_value)
        Dialog_edit_AE.setTabOrder(self.pushButton_edit_value, self.pushButton_delete_attribute)
        Dialog_edit_AE.setTabOrder(self.pushButton_delete_attribute, self.tableWidget_relations)
        Dialog_edit_AE.setTabOrder(self.tableWidget_relations, self.pushButton_add_child)
        Dialog_edit_AE.setTabOrder(self.pushButton_add_child, self.pushButton_add_parent)
        Dialog_edit_AE.setTabOrder(self.pushButton_add_parent, self.pushButton_delete_relation)
        Dialog_edit_AE.setTabOrder(self.pushButton_delete_relation, self.buttonBox)

    def retranslateUi(self, Dialog_edit_AE):
        self.tableWidget_attributes.setSortingEnabled(False)
        item = self.tableWidget_attributes.horizontalHeaderItem(0)
        item = self.tableWidget_attributes.horizontalHeaderItem(1)
        item = self.tableWidget_attributes.horizontalHeaderItem(2)
        item = self.tableWidget_attributes.horizontalHeaderItem(3)
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("Dialog_edit_AE", "Attributes", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget_relations.setSortingEnabled(False)
        item = self.tableWidget_relations.horizontalHeaderItem(0)
        item = self.tableWidget_relations.horizontalHeaderItem(1)
        item = self.tableWidget_relations.horizontalHeaderItem(2)
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("Dialog_edit_AE", "Relations", None, QtGui.QApplication.UnicodeUTF8))

import resources_rc
